class DeleteOrderColumns < ActiveRecord::Migration
  def self.up
    remove_column(:orders, :ship_to_country)
    remove_column(:orders, :customer_ip)
    remove_column(:orders, :status)
    remove_column(:orders, :error_message)
    remove_column(:orders, :created_at)
    remove_column(:orders, :updated_at)
  end
  
  def self.down
    add_column(:orders, :ship_to_country, :string)
    add_column(:orders, :customer_ip, :string)
    add_column(:orders, :status, :string)
    add_column(:orders, :error_message, :string)
    add_column(:orders, :created_at, :datetime)
    add_column(:orders, :updated_at, :datetime)
  end
end